/*  1:   */ package org.jetbrains.lang.manifest.psi;
/*  2:   */ 
/*  3:   */

import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.IFileElementType;
import org.jetbrains.lang.manifest.ManifestLanguage;
import org.jetbrains.lang.manifest.psi.impl.HeaderImpl;
import org.jetbrains.lang.manifest.psi.impl.HeaderValuePartImpl;
import org.jetbrains.lang.manifest.psi.impl.SectionImpl;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */
/* 11:   */ 
/* 12:   */ public abstract class ManifestElementType
/* 13:   */   extends IElementType
/* 14:   */ {
/* 15:40 */   public static final IFileElementType FILE = new IFileElementType("ManifestFile", ManifestLanguage.INSTANCE);
/* 16:42 */   public static final IElementType SECTION = new ManifestElementType("SECTION")
/* 17:   */   {
/* 18:   */     public PsiElement createPsi(ASTNode paramAnonymousASTNode)
/* 19:   */     {
/* 20:45 */       return new SectionImpl(paramAnonymousASTNode);
/* 21:   */     }
/* 22:   */   };
/* 23:49 */   public static final IElementType HEADER = new ManifestElementType("HEADER")
/* 24:   */   {
/* 25:   */     public PsiElement createPsi(ASTNode paramAnonymousASTNode)
/* 26:   */     {
/* 27:52 */       return new HeaderImpl(paramAnonymousASTNode);
/* 28:   */     }
/* 29:   */   };
/* 30:56 */   public static final IElementType HEADER_VALUE_PART = new ManifestElementType("HEADER_VALUE_PART")
/* 31:   */   {
/* 32:   */     public PsiElement createPsi(ASTNode paramAnonymousASTNode)
/* 33:   */     {
/* 34:59 */       return new HeaderValuePartImpl(paramAnonymousASTNode);
/* 35:   */     }
/* 36:   */   };
/* 37:   */   
/* 38:   */   public ManifestElementType(String paramString)
/* 39:   */   {
/* 40:64 */     super(paramString, ManifestLanguage.INSTANCE);
/* 41:   */   }
/* 42:   */   
/* 43:   */   public abstract PsiElement createPsi(ASTNode paramASTNode);
/* 44:   */   
/* 45:   */   public String toString()
/* 46:   */   {
/* 47:71 */     return "MF:" + super.toString();
/* 48:   */   }
/* 49:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.lang.manifest.psi.ManifestElementType

 * JD-Core Version:    0.7.0.1

 */